getMaxSize

abstract fun getMaxSize(): Int
Allocated size for 'bytes' and 'string' fields.
For string fields, this should include the space for null terminator.
optional int32 max_size = 1;

Return

The maxSize.